<?php defined('SYSPATH') or die('No direct script access.');
$mydatetime      = Helper_mydatetime::factory();
$arraylist      = Helper_arraylist::factory();
$display         = Helper_displayitems::factory();
?>

<?php $arrays = $arraylist->print_array($table,$id) ?>

<div style="max-width: 800px; border: 1px solid black; padding: 10px; height: 180px;">
	<div style="text-align: center; font-weight: bold;">PURCHASE ORDER</div>
	Detail Purchase Order :<br><br>
	<table>
		<tr>
			<td>ID Purchase Order</td>
			<td>:</td>
			<td><?php echo $arrays[0]['id'] ?></td>
		</tr>
		<tr>
			<td>Tgl</td>
			<td>:</td>
			<td><?php echo $mydatetime->mktime_from_sql($arrays[0]['tgl']) ?></td>
		</tr>
		<tr>
			<td>ID SPSC</td>
			<td>:</td>
			<td><?php echo $arrays[0]['id_spsc'] ?></td>
		</tr>
		<tr>
			<td>Total Pembayaran</td>
			<td>:</td>
			<td><?php echo $arrays[0]['total_pembayaran'] ?></td>
		</tr>
		
		
	</table>
</div>























